package com.dianping.cat.home.dal.report;

import java.util.Date;
import org.unidal.dal.jdbc.DataObject;



















public class MetricScreen
  extends DataObject
{
  private int m_id;
  private String m_name;
  private String m_graphName;
  private String m_view;
  private String m_endPoints;
  private String m_measurements;
  private String m_content;
  private Date m_creationDate;
  private Date m_updatetime;
  private int m_keyId;

  public void afterLoad() {
/*  39 */     this.m_keyId = this.m_id;
/*  40 */     clearUsage();
  }


/*  44 */   public String getContent() { return this.m_content; }



/*  48 */   public Date getCreationDate() { return this.m_creationDate; }



/*  52 */   public String getEndPoints() { return this.m_endPoints; }



/*  56 */   public String getGraphName() { return this.m_graphName; }



/*  60 */   public int getId() { return this.m_id; }



/*  64 */   public int getKeyId() { return this.m_keyId; }



/*  68 */   public String getMeasurements() { return this.m_measurements; }



/*  72 */   public String getName() { return this.m_name; }



/*  76 */   public Date getUpdatetime() { return this.m_updatetime; }



/*  80 */   public String getView() { return this.m_view; }


  public MetricScreen setContent(String content) {
/*  84 */     setFieldUsed(MetricScreenEntity.CONTENT, true);
/*  85 */     this.m_content = content;
/*  86 */     return this;
  }

  public MetricScreen setCreationDate(Date creationDate) {
/*  90 */     setFieldUsed(MetricScreenEntity.CREATION_DATE, true);
/*  91 */     this.m_creationDate = creationDate;
/*  92 */     return this;
  }

  public MetricScreen setEndPoints(String endPoints) {
/*  96 */     setFieldUsed(MetricScreenEntity.END_POINTS, true);
/*  97 */     this.m_endPoints = endPoints;
/*  98 */     return this;
  }

  public MetricScreen setGraphName(String graphName) {
/* 102 */     setFieldUsed(MetricScreenEntity.GRAPH_NAME, true);
/* 103 */     this.m_graphName = graphName;
/* 104 */     return this;
  }

  public MetricScreen setId(int id) {
/* 108 */     setFieldUsed(MetricScreenEntity.ID, true);
/* 109 */     this.m_id = id;

/* 111 */     setFieldUsed(MetricScreenEntity.KEY_ID, true);
/* 112 */     this.m_keyId = id;
/* 113 */     return this;
  }

  public MetricScreen setKeyId(int keyId) {
/* 117 */     setFieldUsed(MetricScreenEntity.KEY_ID, true);
/* 118 */     this.m_keyId = keyId;
/* 119 */     return this;
  }

  public MetricScreen setMeasurements(String measurements) {
/* 123 */     setFieldUsed(MetricScreenEntity.MEASUREMENTS, true);
/* 124 */     this.m_measurements = measurements;
/* 125 */     return this;
  }

  public MetricScreen setName(String name) {
/* 129 */     setFieldUsed(MetricScreenEntity.NAME, true);
/* 130 */     this.m_name = name;
/* 131 */     return this;
  }

  public MetricScreen setUpdatetime(Date updatetime) {
/* 135 */     setFieldUsed(MetricScreenEntity.UPDATETIME, true);
/* 136 */     this.m_updatetime = updatetime;
/* 137 */     return this;
  }

  public MetricScreen setView(String view) {
/* 141 */     setFieldUsed(MetricScreenEntity.VIEW, true);
/* 142 */     this.m_view = view;
/* 143 */     return this;
  }


  public String toString() {
/* 148 */     StringBuilder sb = new StringBuilder(1024);

/* 150 */     sb.append("MetricScreen[");
/* 151 */     sb.append("content: ").append(this.m_content);
/* 152 */     sb.append(", creation-date: ").append(this.m_creationDate);
/* 153 */     sb.append(", end-points: ").append(this.m_endPoints);
/* 154 */     sb.append(", graph-name: ").append(this.m_graphName);
/* 155 */     sb.append(", id: ").append(this.m_id);
/* 156 */     sb.append(", key-id: ").append(this.m_keyId);
/* 157 */     sb.append(", measurements: ").append(this.m_measurements);
/* 158 */     sb.append(", name: ").append(this.m_name);
/* 159 */     sb.append(", updatetime: ").append(this.m_updatetime);
/* 160 */     sb.append(", view: ").append(this.m_view);
/* 161 */     sb.append("]");
/* 162 */     return sb.toString();
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/dal/report/MetricScreen.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */